//
//  HNDocterMsgCell.m
//  baidaifu
//
//  Created by 朱传正 on 2016/12/23.
//  Copyright © 2016年 好牛. All rights reserved.
//

#import "HNDocterMsgCell.h"

@implementation HNDocterMsgCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.cellImage.layer.masksToBounds = YES;
    self.cellImage.layer.cornerRadius = self.cellImage.frame.size.height/2;
    
    
    self.cellTitle.textColor = RGBJ(0);
    
    self.cellTime.textColor = RGBJ(195);
    
    self.cellTaskStr.textColor = RGBJ(200);
    
    _cellChoiceImage.image = [UIImage imageNamed:@"椭圆-1.png"];
    
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    if (self.selected) {
          [self.doctorMsgDelegate HNDocterMsgCell:self ChangeChoiceState:_indexPath];
    }else{
        _cellChoiceImage.image = [UIImage imageNamed:@"椭圆-1.png"];
    }
  
}

- (IBAction)choiceBtn:(UIButton *)sender {
    if (sender.selected) {
        sender.imageView.image = [UIImage imageNamed:@"552cc35c851ca_128.png"];
    }else{
    sender.imageView.image = [UIImage imageNamed:@"椭圆-1.png"];
    }
    
}



@end
